package com.tan.service.impl;

import com.tan.mapper.DistrictMapper;
import com.tan.model.District;
import com.tan.service.DistrictService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DistrictServiceImpl implements DistrictService {

    @Resource
    DistrictMapper dm;

    @Override
    public List<District> getAllDistrict() {
        return dm.getAllDistrict();
    }
}
